#coding:utf-8

import  tensorflow as tf

value=tf.constant([[1,2,3],[2,3,4]],dtype=tf.float16,name="a")
with tf.Session() as sess:
    print(value.eval())
    print('shape',value.get_shape(),"\ttype:",type(value.get_shape()))
    print('shape:',value.get_shape().as_list())
    print('type:',type(value.get_shape().as_list()))